<!-- 科研论文模板 -->
<div class="panel panel-info">
    <div class="panel-heading">
        <h3 class="panel-title"><i class="fa fa-graduation-cap"></i> 科研论文详情</h3>
    </div>
    <div class="panel-body">
        <p><strong>工作类型：</strong>科研论文</p>

        <!-- 论文列表 -->
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">论文列表 <span class="text-danger">*</span>：</label>
            <div class="col-xs-12 col-sm-10">
                <dl class="fieldlist" data-name="research_papers" data-template="tpl_research_papers" style="min-width: 1000px;">
                    <dd class="form-inline header-box-title">
                        <ins style="width:280px">论文标题</ins>
                        <ins style="width:100px">是否独著</ins>
                        <ins style="width:200px">人员名单</ins>
                        <ins style="width:100px">是否选题</ins>
                        <ins style="width:100px" class="operation-header" style="background-color: #f6f1ff !important;">操作</ins>
                    </dd>
                    <dd class="form-inline"><a href="javascript:;" id="btn_add_row_research_papers" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 添加论文</a></dd>
                </dl>
            </div>
        </div>

    </div>
</div>

<!-- 论文列表模板 -->
<script type="text/html" id="tpl_research_papers">
    <dd class="form-inline">
        <ins style="width:260px">
            <textarea name="research_papers[__INDEX__][title]" class="form-control" rows="2" cols="30" placeholder="请输入论文标题"></textarea>

        </ins>
        <ins style="width:100px">
            <select name="research_papers[__INDEX__][is_solo]" class="form-control" required>
                <option value="">请选择</option>
                <option value="1">是</option>
                <option value="0">否</option>
            </select>
        </ins>
        <ins style="width:200px">
            <textarea name="research_papers[__INDEX__][author_list]" class="form-control" rows="2" placeholder="请输入人员名单，多个人员用逗号分隔"></textarea>
        </ins>
        <ins style="width:100px">
            <select name="research_papers[__INDEX__][is_solo]" class="form-control" required>
                <option value="">请选择</option>
                <option value="1">是</option>
                <option value="0">否</option>
            </select>
        </ins>
        <ins style="width:100px" class="operation">
            <a href="javascript:;" class="btn btn-danger btn-sm btn-remove"><i class="fa fa-trash"></i> 删除</a>
        </ins>
    </dd>
</script>

<script>
$(document).ready(function() {
    // 初始化科研论文列表
    if (typeof Controller !== 'undefined' && Controller.initResearchPaperList) {
        Controller.initResearchPaperList();
    }
});
</script>